<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struct key_value_pair_view</title>
<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../boost_process/v2.html#doxygen.environment_8hpp" title="Header &lt;boost/process/v2/environment.hpp&gt;">
<link rel="prev" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair.html" title="Struct key_value_pair">
<link rel="next" href="structboost_1_1process_1_1v2_1_1environment_1_1key__view.html" title="Struct key_view">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
<td align="center"><a href="../../../index.html">Home</a></td>
<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost_process/v2.html#doxygen.environment_8hpp"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="structboost_1_1process_1_1v2_1_1environment_1_1key__view.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct key_value_pair_view</span></h2>
<p>boost::process::v2::environment::key_value_pair_view — A view for a key value pair in an environment. </p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../mpi/reference.html#doxygen.environment_8hpp" title="Header &lt;boost/mpi/environment.hpp&gt;">boost/process/v2/environment.hpp</a>&gt;

</span>
<span class="keyword">struct</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a> <span class="special">{</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <span class="identifier">char_type</span>                      <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a4408a848857e50baf25a4335543baca2"></a><span class="identifier">value_type</span><span class="special">;</span>      
  <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">char_type</span> <span class="special">&gt;</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a0a9a105a83a3306ec9ef1ca4cfa48a82"></a><span class="identifier">string_type</span><span class="special">;</span>     
  <span class="keyword">typedef</span> <a class="link" href="structboost_1_1process_1_1v2_1_1basic__cstring__ref.html" title="Struct template basic_cstring_ref">basic_cstring_ref</a><span class="special">&lt;</span> <span class="identifier">char_type</span> <span class="special">&gt;</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a295f48c1c754d783a4865c91d840f1b8"></a><span class="identifier">string_view_type</span><span class="special">;</span>
  <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">char_traits</span><span class="special">&lt;</span> <span class="identifier">char_type</span> <span class="special">&gt;</span>  <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a84e667abafb52532e0bdb9646626b500"></a><span class="identifier">traits_type</span><span class="special">;</span>     

  <span class="comment">// <a class="link" href="boost_interprocess_header_reference/classboost_1_1interprocess_1_1message__queue__t.html#id32-bb">public member functions</a></span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a01998a8b5fe2a2437fc049c82b12ecbc"><span class="identifier">key_value_pair_view</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a97e5e52bfbd93240eb6ef39f3a24a851"><span class="identifier">key_value_pair_view</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a4e80d0f118f5346802b78b9dcadf1c54"><span class="identifier">key_value_pair_view</span></a><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Source<span class="special">,</span> 
           <span class="keyword">typename</span> <span class="special">=</span> <span class="keyword">typename</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">enable_if</span><span class="special">&lt;</span><span class="identifier">is_constructible</span><span class="special">&lt;</span><span class="identifier">string_view_type</span><span class="special">,</span> <span class="identifier">Source</span><span class="special">&gt;</span><span class="special">::</span><span class="identifier">value</span><span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span><span class="special">&gt;</span> 
    <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a852884c65368c7567c5e334be7ea065b"><span class="identifier">key_value_pair_view</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Source</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a044d34b1967887f35d6e3655710c197e"><span class="identifier">key_value_pair_view</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">char_type</span> <span class="special">*</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1adfd3a8cb31b0a7007eabeb82a7e85a19"><span class="identifier">key_value_pair_view</span></a><span class="special">(</span><span class="identifier">char_type</span> <span class="special">*</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1af8ecc44258c6b430ff97d47e6502bdb4"><span class="special">~</span><span class="identifier">key_value_pair_view</span></a><span class="special">(</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a> <span class="special">&amp;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a2846a230fb05163068f5f6ed11bb878f"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a> <span class="special">&amp;</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a5b355d233ebf5a10498a11dc8d676294"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a852e71678f8db590b8a62742b3ac1c6f"><span class="identifier">swap</span></a><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a295f48c1c754d783a4865c91d840f1b8">string_view_type</a> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a179525f7349f24341e9da95f8a52ec8c"><span class="identifier">native</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a3ee67ef2cbb837da91475870f545f606"><span class="keyword">operator</span> <span class="identifier">string_view_type</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1aef4e3dead6dd4599cfaed0747ae03628"><span class="keyword">operator</span> <span class="keyword">typename</span> <span class="identifier">string_view_type</span><span class="special">::</span><span class="identifier">string_view_type</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">int</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a2b2f00707f4c248ff140d506391a24f6"><span class="identifier">compare</span></a><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">int</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a3fd2cf366b93acaab753b0c3c8fa7822"><span class="identifier">compare</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">int</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a9485da4aebe313760042d9668caaa405"><span class="identifier">compare</span></a><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a295f48c1c754d783a4865c91d840f1b8">string_view_type</a><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">int</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1abce81eeb825ac914cd63dbe76065a244"><span class="identifier">compare</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> Traits <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">char_traits</span><span class="special">&lt;</span><span class="identifier">CharT</span><span class="special">&gt;</span><span class="special">,</span> 
           <span class="keyword">typename</span> Alloc <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">allocator</span><span class="special">&lt;</span><span class="identifier">CharT</span><span class="special">&gt;</span> <span class="special">&gt;</span> 
    <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">Alloc</span> <span class="special">&gt;</span> 
    <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a212728395ee1e7463be2edd5a0bff176"><span class="identifier">basic_string</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Alloc</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">Alloc</span><span class="special">(</span><span class="special">)</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1af1bc8c51c38e8cbcddc2d2ad9f0dcf8d"><span class="identifier">string</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">wstring</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a8a7df4708e53a300ab4fd683d1b2fad3"><span class="identifier">wstring</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">string_type</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1af830153df1050abb5a174e8450f9fe8e"><span class="identifier">native_string</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a8356b062e7f1b7feedf1ef2efc90b939"><span class="identifier">empty</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__view.html" title="Struct key_view">key_view</a> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1ac64f3c0bd1f6dfed0bd035a34c4e453d"><span class="identifier">key</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1value__view.html" title="Struct value_view">value_view</a> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a598db4cc5ffd7a58cd7d72a5fb1fa68a"><span class="identifier">value</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> Idx<span class="special">&gt;</span> <span class="keyword">virtual</span> <span class="keyword">auto</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1ad0b2f12241df52255065b005763359b1"><span class="identifier">get</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
  <span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a38054404a12a7ba55fb1ebb44b128df0"><span class="identifier">c_str</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1ab9f9ed32e2b596ffd5a51a5c4bd8e4ad"><span class="identifier">data</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a110a95211e919506b4e61a2b7b02b534"><span class="identifier">size</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="special">&gt;</span> <span class="keyword">virtual</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__view.html" title="Struct key_view">key_view</a> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1ae4adef603dd818b6b803e8013a0ccefa"><span class="identifier">get</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="special">&gt;</span> <span class="keyword">virtual</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1value__view.html" title="Struct value_view">value_view</a> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a0fd7c77916960fe70e334600306aa940"><span class="identifier">get</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.30.5.8.5.6.4"></a><h2>Description</h2>
<div class="refsect2">
<a name="id-1.3.30.5.8.5.6.4.2"></a><h3>
<a name="id32-bb"></a><code class="computeroutput">key_value_pair_view</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a01998a8b5fe2a2437fc049c82b12ecbc"></a><span class="identifier">key_value_pair_view</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a97e5e52bfbd93240eb6ef39f3a24a851"></a><span class="identifier">key_value_pair_view</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a> <span class="special">&amp;</span> p<span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a4e80d0f118f5346802b78b9dcadf1c54"></a><span class="identifier">key_value_pair_view</span><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a> <span class="special">&amp;&amp;</span> p<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Source<span class="special">,</span> 
         <span class="keyword">typename</span> <span class="special">=</span> <span class="keyword">typename</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">enable_if</span><span class="special">&lt;</span><span class="identifier">is_constructible</span><span class="special">&lt;</span><span class="identifier">string_view_type</span><span class="special">,</span> <span class="identifier">Source</span><span class="special">&gt;</span><span class="special">::</span><span class="identifier">value</span><span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span><span class="special">&gt;</span> 
  <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a852884c65368c7567c5e334be7ea065b"></a><span class="identifier">key_value_pair_view</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Source</span> <span class="special">&amp;</span> source<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a044d34b1967887f35d6e3655710c197e"></a><span class="identifier">key_value_pair_view</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">char_type</span> <span class="special">*</span> p<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1adfd3a8cb31b0a7007eabeb82a7e85a19"></a><span class="identifier">key_value_pair_view</span><span class="special">(</span><span class="identifier">char_type</span> <span class="special">*</span> p<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1af8ecc44258c6b430ff97d47e6502bdb4"></a><span class="special">~</span><span class="identifier">key_value_pair_view</span><span class="special">(</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a> <span class="special">&amp;</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a2846a230fb05163068f5f6ed11bb878f"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a> <span class="special">&amp;</span> p<span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a> <span class="special">&amp;</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a5b355d233ebf5a10498a11dc8d676294"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a> <span class="special">&amp;&amp;</span> p<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a852e71678f8db590b8a62742b3ac1c6f"></a><span class="identifier">swap</span><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a> <span class="special">&amp;</span> other<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a295f48c1c754d783a4865c91d840f1b8">string_view_type</a> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a179525f7349f24341e9da95f8a52ec8c"></a><span class="identifier">native</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a3ee67ef2cbb837da91475870f545f606"></a><span class="keyword">operator</span> <span class="identifier">string_view_type</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1aef4e3dead6dd4599cfaed0747ae03628"></a><span class="keyword">operator</span> <span class="keyword">typename</span> <span class="identifier">string_view_type</span><span class="special">::</span><span class="identifier">string_view_type</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">int</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a2b2f00707f4c248ff140d506391a24f6"></a><span class="identifier">compare</span><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html" title="Struct key_value_pair_view">key_value_pair_view</a> p<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">int</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a3fd2cf366b93acaab753b0c3c8fa7822"></a><span class="identifier">compare</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> str<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">int</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a9485da4aebe313760042d9668caaa405"></a><span class="identifier">compare</span><span class="special">(</span><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view.html#doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a295f48c1c754d783a4865c91d840f1b8">string_view_type</a> str<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">int</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1abce81eeb825ac914cd63dbe76065a244"></a><span class="identifier">compare</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> s<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> Traits <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">char_traits</span><span class="special">&lt;</span><span class="identifier">CharT</span><span class="special">&gt;</span><span class="special">,</span> 
         <span class="keyword">typename</span> Alloc <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">allocator</span><span class="special">&lt;</span><span class="identifier">CharT</span><span class="special">&gt;</span> <span class="special">&gt;</span> 
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">Alloc</span> <span class="special">&gt;</span> 
  <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a212728395ee1e7463be2edd5a0bff176"></a><span class="identifier">basic_string</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Alloc</span> <span class="special">&amp;</span> alloc <span class="special">=</span> <span class="identifier">Alloc</span><span class="special">(</span><span class="special">)</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1af1bc8c51c38e8cbcddc2d2ad9f0dcf8d"></a><span class="identifier">string</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">wstring</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a8a7df4708e53a300ab4fd683d1b2fad3"></a><span class="identifier">wstring</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">string_type</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1af830153df1050abb5a174e8450f9fe8e"></a><span class="identifier">native_string</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a8356b062e7f1b7feedf1ef2efc90b939"></a><span class="identifier">empty</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__view.html" title="Struct key_view">key_view</a> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1ac64f3c0bd1f6dfed0bd035a34c4e453d"></a><span class="identifier">key</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1value__view.html" title="Struct value_view">value_view</a> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a598db4cc5ffd7a58cd7d72a5fb1fa68a"></a><span class="identifier">value</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> Idx<span class="special">&gt;</span> <span class="keyword">virtual</span> <span class="keyword">auto</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1ad0b2f12241df52255065b005763359b1"></a><span class="identifier">get</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a38054404a12a7ba55fb1ebb44b128df0"></a><span class="identifier">c_str</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1ab9f9ed32e2b596ffd5a51a5c4bd8e4ad"></a><span class="identifier">data</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a110a95211e919506b4e61a2b7b02b534"></a><span class="identifier">size</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="special">&gt;</span> <span class="keyword">virtual</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1key__view.html" title="Struct key_view">key_view</a> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1ae4adef603dd818b6b803e8013a0ccefa"></a><span class="identifier">get</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="special">&gt;</span> <span class="keyword">virtual</span> <a class="link" href="structboost_1_1process_1_1v2_1_1environment_1_1value__view.html" title="Struct value_view">value_view</a> <a name="doxygen.structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair__view_1a0fd7c77916960fe70e334600306aa940"></a><span class="identifier">get</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2006-2012 Julio M. Merino Vidal, Ilya Sokolov,
      Felipe Tanus, Jeff Flinn, Boris Schaeling<br>Copyright © 2016 Klemens D. Morgenstern<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
      </p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="structboost_1_1process_1_1v2_1_1environment_1_1key__value__pair.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost_process/v2.html#doxygen.environment_8hpp"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="structboost_1_1process_1_1v2_1_1environment_1_1key__view.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
